﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TiPort.TiEntityObjects;
using System.Xml.Serialization;
using TI;

namespace TiEntityObject.Protocol
{
    public class ProtocolLot
    {
        public string ProtocolNumber { get; set; }

        [XmlElement("lotNumber")]
        public long LotNumber { get; set; }

        [XmlElement("applications")]
        [LinkObjectAttribute(ChildFieldName = "LotNumber", IsCollection = true, IsPartialObject = true, ParentFieldName = "LotNumber")]
        public ProtocolApplications Applications { get; set; }

    }
}
